package cn.powertime.evaluation.service.impl;

import cn.powertime.evaluation.entity.CpsResource;
import cn.powertime.evaluation.mapper.CpsResourceMapper;
import cn.powertime.evaluation.service.CpsResourceService;
import cn.powertime.evaluation.vo.WebReqResourceVo;
import cn.powertime.evaluation.vo.WebRespCourseResourceListVo;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 * 课程资源表 服务实现类
 * </p>
 *
 * @author liqi
 * @since 2019-09-23
 */
@Service
public class CpsResourceServiceImpl extends ServiceImpl<CpsResourceMapper, CpsResource> implements CpsResourceService {

    @Autowired
    private CpsResourceMapper cpsResourceMapper;

    @Override
    public List<WebRespCourseResourceListVo> courseResourceList(WebReqResourceVo vo) {
        return cpsResourceMapper.courseResourceList(vo);
    }
}
